package com.blkj.iam.shared.client.controller;

import com.blkj.iam.shared.client.service.SsoDeptService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 对外提供接口
 * @author: Ethan
 * @create: 2025-04-11
 **/
@Tag(name = "对外提供接口")
@RestController
@RequestMapping("/api/v1")
public class SsoDeptController {

    @Resource
    private SsoDeptService ssoDeptService;


//    @RequestMapping("/user/listAll")
//    public SaResult getUserList(@RequestParam Map<String, Object> params) {
//        SaResult signResult = checkSign(params, params.getOrDefault("sign", "").toString());
//        if (signResult.getCode() != 200) {
//            return signResult;
//        }
//
//        Page<User> userPage = ssoDeptService.getUserList(params);
//        return SaResult.ok().setData(userPage);
//    }

}
